package com.xwb.mapper;

import java.util.ArrayList;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.xwb.pojo.Memory;
import com.xwb.pojo.Review;

@Mapper
public interface MemoryMapper {
	ArrayList<Memory> listBysid(@Param("sid")Integer sid);
	Memory findByid(Integer mid);
	void updatazan(@Param("mid")Integer mid,@Param("mzan")Integer mzan);//����
	void addreview(Review review);
	ArrayList<Review> findreviewByid(Integer mid);
}
